package com.atstudy.st;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2023/1/13 13:38
 * @copyright: 博为峰
 */
public class St04 {

    //懒汉式
    private static St04 st02;

    private St04() {
    }

    //t0 t1  St04.class 字节码文件对象
    public static synchronized St04 getSt() {
        if (st02 == null) {
            //t0  t1
            st02 = new St04();
        }
        return st02;
    }
}
